cordova.define("com.waiqin365.h5.photo.wqphoto", function(require, exports,
				module) {
			module.exports = new WqPhoto();

			var exec = require('cordova/exec');
			var utils = require('cordova/utils');
		
			function WqPhoto() {
			}
			WqPhoto.prototype.getPhoto = function(successCallback,
					errorCallBack, json) {
				exec(successCallback, errorCallBack, "WqGetPhoto","wqGetPhoto", [json]);
			}
			WqPhoto.prototype.photoPreview = function(json) {
				exec(null, null, "WqPhotoPreview","wqPhotoPreview", [json]);
			}
			WqPhoto.prototype.startUpload = function(json) {
				exec(null, null, "WqStartUpload","wqStartUpload", [json]);
			}
			WqPhoto.prototype.photoDelete = function(json) {
				exec(null, null, "WqPhotoDelete","wqPhotoDelete", [json]);
			}
			WqPhoto.prototype.wqPhotoClip = function(successCallback,json) {
            	exec(successCallback, null, "WqPhotoClip","wqPhotoClip", [json]);
            }
			WqPhoto.prototype.wqUrlToBase64 = function(successCallback,json) {
            	exec(successCallback, null, "WqUrlToBase64","wqUrlToBase64", [json]);
            }
	});
	